找传奇、传世资源到传世资源站!

C# 实现文件夹浏览控件

8.5玩家评分(1人评分)
下载后可评
介绍 评论 失效链接反馈


from clipboard
from clipboardusing System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using LControl;namespace Test{ public partial class Form1 : Form { public Form1() { InitializeComponent(); this.comboBoxEx1.Items.Add(new ComboBoxExItem(0, "Item1", 0, null)); this.comboBoxEx1.Items.Add(new ComboBoxExItem(10, "Item2","ShowItem2", 0, null)); this.comboBoxEx1.Items.Add(new ComboBoxExItem(20, "Item3", 0, null)); this.comboBoxEx1.Items.Add(new ComboBoxExItem(0, "Item4", 0, null)); this.comboBoxEx1.DisableMouseWheel = true; } private void Form1_MouseUp(object sender, MouseEventArgs e) { this.localFolderBrowser1.RootPath = ""; } private void toolStripMenuItem1_Click(object sender, EventArgs e) { this.localFileBrowser1.CurrentPath = "E:\\"; }protected override void OnClosed(EventArgs e){base.OnClosed(e);} }}

评论

发表评论必须先登陆, 您可以 登陆 或者 注册新账号 !


在线咨询: 问题反馈
客服QQ:174666394

有问题请留言,看到后及时答复